home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / case40a.zip / INSTALL4.BAT < prev    next >
DOS Batch File  |  1991-10-10  |  3KB  |  128 lines

  1. ECHO OFF
  2. IF %1==F GOTO FLOPINS
  3. IF %1==H GOTO HARDINS1
  4. CLS
  5. GO4
  6. :FLOPINS
  7. ECHO OFF
  8. CLS
  9. IF %2==1 GOTO FLOPINS1
  10. IF %2==2 GOTO FLOPINS2
  11. CLS
  12. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  13. ECHO  following your 'GO F' instruction.
  14. GOTO END
  15. :FLOPINS2
  16. CLS   
  17. ECHO  Enter disk 2, SALES-B, into drive A now.
  18. ECHO  [it should still be in Drive A]
  19. PAUSE
  20. A:
  21. B:PKUNZIP -X B:LEGAL-C41.ZIP PROGRAM.OVL
  22. B:PKUNZIP -X B:LEGAL-C41.ZIP *.FRM
  23. CLS
  24. ECHO  Enter disk 3, PROGRAM.DOC, into drive A now.
  25. PAUSE 
  26. A:     
  27. B:PKUNZIP -X B:LEGAL-D41.ZIP PROGRAM.DOC
  28. GOTO FLOPDOC
  29. :FLOPDOC
  30. CLS 
  31. ECHO  Finished !
  32. ECHO  Disk  3,  the documentation and tutorial,  is not used while  the 
  33. ECHO  program  is  running.   It  contains a 60 page tutorial
  34. ECHO  and  can  be printed  out will this command:          
  35. ECHO                           COPY PROGRAM.DOC LPT1:  
  36. echo  
  37. ECHO  To start the program,:
  38. ECHO  Enter SALES-A, disk one, into drive A.
  39. ECHO  Enter SALES-B, disk two, into drive B.
  40. echo  
  41. ECHO  Then restart the computer and execute GO      {executed from B}
  42. GOTO END
  43. :FLOPINS1
  44. ECHO  Beginning with version 3.0 of this program, the executable files have
  45. ECHO  become so large that the low density option of 360KB is no longer supported.
  46. GOTO END
  47. :HARDINS1
  48. CLS
  49. echo  
  50. %2:
  51. CD \
  52. CD LAWYER.ACS
  53. COPY A:LEGAL-E41.EXE >TMP
  54. LEGAL-E41
  55. DEL LEGAL-E41.EXE
  56. COPY A:YESNO.COM >TMP
  57. COPY A:ECOH.COM >TMP
  58. CLS
  59. echo  
  60. ECOH ══════════    Tutorial for program    ══════════
  61. echo  
  62. ECHO  PROGRAM.DOC is the 6 chapter, 60 page tutorial.
  63. ECHO  Would you like to print it out now?
  64. echo  
  65. :YESNO
  66. YESNO
  67. CLS
  68. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  69. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YESPREF
  70. GOTO YESNO
  71. :YESNEXT
  72. CLS
  73. ECHO Please make sure your printer is now turned on and set
  74. ECHO to the 'top of form'. Then press any key to continue.
  75. echo  
  76. PAUSE
  77. CLS
  78. echo  
  79. echo  
  80. ECOH ══════════ Now printing 6 chapter tutorial ══════════
  81. COPY PROGRAM.DOC LPT1:
  82. CLS
  83. GOTO YES1
  84. :YESPREF
  85. CLS
  86. echo  
  87. ECOH ══════════    Preface to Tutorial  ══════════
  88. echo  
  89. ECHO  Since you elected not to print PROGRAM.DOC,
  90. ECHO  Would you like to print the 3 page Preface to the Tutorials instead?
  91. echo  
  92. :YES2
  93. YESNO
  94. CLS
  95. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
  96. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  97. GOTO YES2
  98. :YES3
  99. CLS
  100. echo  
  101. echo  
  102. ECOH ══════════   Printing Preface to Tutorial  ══════════
  103. echo  
  104. COPY PREFACE.TXT LPT1: >TMP
  105. GOTO YES1
  106. :YES1
  107. CLS
  108. echo  
  109. echo  
  110. echo  
  111. ECOH ══════════ Free memory available for program ══════════
  112. echo  
  113. ECHO The program must have 500 kb free memory. Observe the next 
  114. ECHO 'bytes are free.' message below.  If below 500k, then
  115. ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
  116. ECHO programs.  Otherwise enter any other key to continue.
  117. echo  
  118. echo  
  119. MEMORY
  120. echo  
  121. echo  
  122. PAUSE
  123. CLS
  124. GO
  125. GOTO END
  126. :END
  127. echo  
  128.